package com.zyb.dfs.namenode.server;

/**
 * 生产editlog内容工厂类
 */
public class EditLogFactory {

    public static String mkdir(String path){
        return "{'OP':'MKDIR','PATH':'" + path + "'}";
    }

    public static String create(String path){
        return "{'OP':'CREATE','PATH':'" + path + "'}";
    }
}
